package com.zhiyou100.exception;

public class LoginException extends RuntimeException{

	private Integer errorCode;
	private String errorMessage;
	
	
	
	
	public LoginException() {
		super();
	}
	public LoginException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}
	public LoginException(String message, Throwable cause) {
		super(message, cause);
	}
	public LoginException(String message) {
		super(message);
	}
	public LoginException(Throwable cause) {
		super(cause);
	}
	
	
	
	public LoginException(Integer errorCode, String errorMessage) {
		super();
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
	}
	public Integer getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(Integer errorCode) {
		this.errorCode = errorCode;
	}
	public String getErrorMessage() {
		return errorMessage;
	}
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	
	
}
